﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ScriptEditor.Commands
{
    class Command_Map : Command
    {
        public string mapName
        {
            get
            {
                return Value1;
            }
            set
            {
                Value1 = value;
            }
        }
        public Command_Map()
        {
            CommandType = COMMANDTYPE.Map;
            mapName = "请输入地图名";
            Wait = true;
        }
        public Command_Map(string MapName)
        {
            CommandType = COMMANDTYPE.Map;
            mapName = MapName;
            Wait = true;
        }
        public override string ToString()
        {
            return CommandType.ToString() + ":\n" + "地图:" + mapName;
        }
    }
}
